<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>用户申请信息显示页面</title>
<script>
	function endApply(applyId) {
		if (window.confirm("\n警告：一个用户只有3次申请机会，并且您如果结束申请，当前所有申请数据会全部清除，您相当于重新开始申请流程。\n\n\n请慎重操作，确定结束本次申请吗？\n")) {
			if (window.confirm("你真的确定？？"))
				location.href = '消息提示.htm';
		}
	}
	function successEndApply(applyId) {
		if (window.confirm("祝贺您，您已经成功获取到了黑马的入学名额，接下来请联系网站客户联系入学事宜！")) {
			location.href = '/customer/process/apply.do?method=successEndApply&applyId=' + applyId;
		}
	}
	function formSubmit() {
		var form = document.forms[0];
		form.submit();
	}
</script>

</head>

<body>
	<div class="rrcc" id="RightBox">
		<div class="center" id="Mobile" onClick="show_menuC()"></div>
		<div class="right" id="li010">
			<div style="width:93%;margin: 0 auto;padding: 20px 0px;">
				<div style="height: 25px;">当前申请状态：</div>
				<table width="100%" class="table1">
					<tr>
						<th>姓名</th>
						<th>申请时间</th>
						<th>意向课程</th>
						<th>意向班级</th>
						<th>状态提示</th>
						<th style="width: 70px">申请得分</th>
						<th style="width: 70px">其它加分</th>
						<th style="width: 70px">总分</th>
					</tr>

					<tr align="center">
						<td><s:property value="customer.name" />
						</td>
						<td><s:property value="applyTime" />
						</td>
						<td><s:property value="courseName" />
						</td>
						<td><s:property value="className" />
						</td>
						<td class="message"><s:property value="status" />
						</td>
						<td><s:property value="score" />
						</td>
						<td><s:property value="extraScore" />
						</td>
						<td><s:property value="sumScore" />
						</td>
					</tr>
				</table>
				<br /> <br />
				<div style="height: 25px;">当前正在进行的申请：（总分：120分）</div>
				<table width="100%" class="table1">
					<tr>
						<td width="130px;">自荐信<br />(分值：10分)</td>
						<td>
							<!--  
							
							--> <s:if test="#resumes==null">
								<div class="div1">您还没有提交自荐信</div>
							</s:if> <s:else>
								<s:iterator value="#resumes" var="resume">
									<table width="100%" class="table1">
										<tr>
											<th width="10%">姓名</th>
											<th width="14%">提交时间</th>
											<th width="10%">状态</th>
											<th width="14%">审批时间</th>
											<th width="30%">审批意见</th>
											<th width="10%">审批人</th>
											<th width="10%">得分</th>
										</tr>

										<tr>
											<td><s:property value="#resume.apply.customer.name" />
											</td>
											<td><s:property value="#resume.uptime" /></td>
											<td><s:property value="#resume.status" /></td>
											<td><s:property value="#resume.approveTime" /></td>
											<td class="message"><s:property value="#resume.comment" />
											</td>
											<td><s:if test="#resume.employee!=null">
													<s:property value="#resume.employee.realname" />
												</s:if>
											</td>
											<td><s:property value="#resume.score" />
											</td>
										</tr>
									</table>
								</s:iterator>
							</s:else>
						</td>
					</tr>
					<tr>
						<td>基础测试<br />(分值：10分)</td>
						<td><s:if test="#tests==null">
								<div class="div1">您还没有提交基础测试</div>
							</s:if> <s:else>
								<s:iterator value="#tests" var="test">
									<table width="100%" class="table1">
										<tr>
											<th width="10%">姓名</th>
											<th width="14%">提交时间</th>
											<th width="10%">状态</th>
											<th width="14%">审批时间</th>
											<th width="30%">审批意见</th>
											<th width="10%">审批人</th>
											<th width="10%">得分</th>
										</tr>

										<tr>
											<td><s:property value="#test.apply.customer.name" /></td>
											<td><s:property value="#test.uptime" /></td>
											<td><s:property value="#test.status" /></td>
											<td><s:property value="#test.approveTime" /></td>
											<td class="message"><s:property value="#test.comment" />
											</td>
											<td><s:if test="#test.employee!=null">
													<s:property value="#test.employee.realname" />
												</s:if>
											</td>
											<td><s:property value="#test.score" />
											</td>
										</tr>
									</table>
								</s:iterator>
							</s:else>
						</td>
					</tr>
					<tr>
						<td>入学考试资格申请<br />(blog分值：20分)</td>
						<td>
						<s:if test="#qualifications==null">
								<div class="div1">您还没有申请入学考试资格</div>
							</s:if> <s:else>
								<s:iterator value="#qualifications" var="qualification">
									<table width="100%" class="table1">
										<tr>
											<th width="10%">姓名</th>
											<th width="14%">提交时间</th>
											<th width="10%">状态</th>
											<th width="14%">审批时间</th>
											<th width="30%">审批意见</th>
											<th width="10%">审批人</th>
											<th width="10%">得分</th>
										</tr>

										<tr>
											<td><s:property value="#qualification.apply.customer.name" /></td>
											<td><s:property value="#qualification.uptime" /></td>
											<td><s:property value="#qualification.status" /></td>
											<td><s:property value="#qualification.approveTime" /></td>
											<td class="message"><s:property value="#qualification.comment" />
											</td>
											<td><s:if test="#qualification.employee!=null">
													<s:property value="#qualification.employee.realname" />
												</s:if>
											</td>
											<td><s:property value="#qualification.score" />
											</td>
										</tr>
									</table>
								</s:iterator>
							</s:else>
						</td>
					</tr>
					<tr>
						<td>入学考试<br />(分值：30分)</td>
						<td>
							<s:if test="#exams==null">
								<div class="div1">您还没有提交入学考试</div>
							</s:if> <s:else>
								<s:iterator value="#exams" var="exam">
									<table width="100%" class="table1">
										<tr>
											<th width="10%">姓名</th>
											<th width="14%">提交时间</th>
											<th width="10%">状态</th>
											<th width="14%">审批时间</th>
											<th width="30%">审批意见</th>
											<th width="10%">审批人</th>
											<th width="10%">得分</th>
										</tr>

										<tr>
											<td><s:property value="#exam.apply.customer.name" /></td>
											<td><s:property value="#exam.uptime" /></td>
											<td><s:property value="#exam.status" /></td>
											<td><s:property value="#exam.approveTime" /></td>
											<td class="message"><s:property value="#exam.comment" />
											</td>
											<td><s:if test="#exam.employee!=null">
													<s:property value="#exam.employee.realname" />
												</s:if>
											</td>
											<td><s:property value="#exam.score" />
											</td>
										</tr>
									</table>
								</s:iterator>
							</s:else>
							
							
							
						</td>
					</tr>
					<tr>
						<td>面试<br />(分值：50分)</td>
						<td>
							<s:if test="#auditions==null">
								<div class="div1">您还没有进入到面试环节</div>
							</s:if> <s:else>
								<s:iterator value="#auditions" var="audition">
									<table width="100%" class="table1">
										<tr>
											<th width="10%">姓名</th>
											<th width="14%">提交时间</th>
											<th width="10%">状态</th>
											<th width="14%">您的面试时间</th>
											<th width="30%">审批意见</th>
											<th width="10%">审批人</th>
											<th width="10%">得分</th>
										</tr>

										<tr>
											<td><s:property value="#audition.apply.customer.name" /></td>
											<td><s:property value="#audition.uptime" /></td>
											<td><s:property value="#audition.status" /></td>
											<td><s:property value="#audition.interviewTime" /></td>
											<td class="message"><s:property value="#audition.comment" />
											</td>
											<td><s:if test="#auditionemployee!=null">
													<s:property value="#audition.employee.realname" />
												</s:if>
											</td>
											<td><s:property value="#audition.score" />
											</td>
										</tr>
									</table>
								</s:iterator>
							</s:else>
							
							
							
						</td>
					</tr>
					<tr>
						<td>分配入学名额<br />
						</td>
						<td>
							<div class="div1">您还没有申请分配入学名额</div>
						</td>
					</tr>
				</table>
				<br /> <br />
				<div style="float: left">
					<div
						style="background:url('${pageContext.request.contextPath}/images/customer/pic_button01.gif') no-repeat left top;width:150px; height:45px; padding-left:15px;">
						<a
							href="${pageContext.request.contextPath}/customer/process/findMyTask.do"
							style="display:block; outline:0 none;border:0 none; background:url('../../images/customer/pic_button01.gif') no-repeat right top;width:150px; height:45px;font-size:20px;color:#FFF;font-weight: bold;cursor:hand;padding-top:10px;">
							进入下一环节 </a>
					</div>
				</div>

				<div style="float: right;">
					<div
						style="background:url('${pageContext.request.contextPath}/images/customer/pic_button01.gif') no-repeat left top;width:150px; height:45px; padding-left:15px;">
						<a href="javascript:void(0)" onClick="endApply(5496)"
							style="display:block; outline:0 none;border:0 none; background:url('../../images/customer/pic_button01.gif') no-repeat right top;width:150px; height:45px;font-size:20px;color:#FFF;font-weight: bold;cursor:hand;padding-top:10px;">
							结束本次申请 </a>
					</div>
				</div>
				<div style="clear: both;"></div>
				<br />
			</div>
		</div>
	</div>
</body>
</html>